package com.mxf.code.controller;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = TestProperties.PREFIX)
@Data
@Component
public class TestProperties{
    public final static String PREFIX = "config";

    private String info;

    private String test;

}
